package com.xu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Invitation {
    private  int id ;
    private String title ;

    private String summary ;
    private String author ;
    @DateTimeFormat(pattern = "yy-mm-dd hh-mm-ss")

    private Date createdate ;
}
